﻿// Sequin.Sequences.Mining.IClosedSequenceMinerObserver
//
// (c) 2011 Arthur Pitman
//
// Part of the Sequin Library
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License (Version 2.1) as published by the Free Software Foundation.
// 
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
// 
// You should have received a copy of the GNU Lesser General Public
// License (Version 2.1) along with this library; if not, write to the 
// Free Software Foundation, Inc., 
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
// or see <http://www.gnu.org/licenses/>.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sequin.Sequences.Mining
{
	/// <summary>
	/// Interface for observers of <see cref="ClosedSequenceMiner"/> objects
	/// </summary>
	public interface IClosedSequenceMinerObserver : ISequenceMinerObserver
	{
		/// <summary>
		/// Signals that a forward extension has been found for the <see cref="Projection"/>
		/// </summary>
		/// <param name="projection">The associated <see cref="Projection"/></param>
		void OnForwardExtension(Projection projection);

		/// <summary>
		/// Signals that a backward extension has been found for the <see cref="Projection"/>
		/// </summary>
		/// <param name="projection">The associated <see cref="Projection"/></param>
		void OnBackwardExtension(Projection projection);

		/// <summary>
		/// Signals that a backscan extension has been found for the <see cref="Projection"/>
		/// </summary>
		/// <param name="projection">The associated <see cref="Projection"/></param>
		void OnBackscanExtension(Projection projection);
	}
}
